package com.example.admin.service;

import com.example.admin.model.LoginLog;
import com.example.admin.model.OperationLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface LogService {
    Page<OperationLog> getOperationLogs(Long userId, Pageable pageable);
    Page<LoginLog> getLoginLogs(Long userId, Pageable pageable);
    void saveOperationLog(OperationLog log);
    void saveLoginLog(LoginLog log);
}
